{include file="public/layout" /}
<body>
<div class="page-container">
    <p class="f-20 text-success">欢迎使用后台管理系统</p>
    <p>上次登录IP：<?php echo session('last_login_ip');?>  上次登录时间：<?php echo date('Y-m-d H:i:s',session('last_login_time'));?></p>
    <table class="table table-border table-bordered table-bg">
        <thead>
            <tr>
                <th colspan="7" scope="col">信息统计</th>
            </tr>
            <tr class="text-c">
                <th>统计</th>
                <th>会员</th>
            </tr>
        </thead>
        <tbody>
            <tr class="text-c">
                <td>总数</td>
                <td>{$member_count}</td>
            </tr>
             <tr class="text-c">
                <td>今日</td>
                <td>{$day_member}</td>
            </tr>
        </tbody>
    </table>
    <table class="table table-border table-bordered table-bg mt-20">
        <thead>
            <tr>
                <th colspan="2" scope="col">服务器信息</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <th width="30%">服务器操作系统</th>
                <td><span id="lbServerName">{$sys_info.os}</span></td>
            </tr>
            <tr>
                <td>服务器IP地址</td>
                <td>{$sys_info.domain} [ {$sys_info.ip} ]</td>
            </tr>
            <tr>
                <td>服务器环境:</td>
                <td>{$sys_info.web_server}</td>
            </tr>
            <tr>
                <td>PHP 版本: </td>
                <td>{$sys_info.phpv}</td>
            </tr>
            <tr>
                <td>Mysql 版本:</td>
                <td>{$sys_info.mysql_version}</td>
            </tr>
            <tr>
                <td>GD 版本: </td>
                <td>{$sys_info.gdinfo}</td>
            </tr>
            <tr>
                <td>文件上传限制: </td>
                <td>{$sys_info.fileupload}</td>
            </tr>
            <tr>
                <td>最大占用内存: </td>
                <td>{$sys_info.memory_limit}</td>
            </tr>
            <tr>
                <td>最大执行时间: </td>
                <td>{$sys_info.max_ex_time}</td>
            </tr>
            <tr>
                <td>安全模式: </td>
                <td>{$sys_info.safe_mode}</td>
            </tr>
            <tr>
                <td>Zlib支持:</td>
                <td>{$sys_info.zlib}</td>
            </tr>
            <tr>
                <td>Curl支持: </td>
                <td>{$sys_info.curl}</td>
            </tr>
        </tbody>
    </table>
</div>
{include file="public/footer" /}
</body>
</html>